rem ============================================================== rem It is recommended to test the script on a local machine for its purpose and effects. rem ManageEngine Desktop Central will not be responsible for any rem damage/loss to the data/setup based on the behavior of the script. rem Description: Script to set LockScreenImage for Windows 10 and above. rem Parameters: rem LockScreenImageName rem Remarks: rem The script has to be deployed as Computer Configuration rem LockScreenImage File has to be uploaded with the script while deploying and rem Configuration Type - Computer rem ============================================================== copy %1 C:\Windows\System32\LockScreen.jpg /Y reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP" /v "LockScreenImageStatus" /d 1 /t REG_DWORD /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP" /v "LockScreenImagePath" /d "C:\Windows\System32\LockScreen.jpg" /t REG_SZ /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP" /v "LockScreenImageUrl" /d "C:\Windows\System32\LockScreen.jpg" /t REG_SZ /f